package entidades;

import java.sql.Timestamp;
import java.util.Calendar;

public class Hora {

	private Timestamp horaInicio;
	private Timestamp horaFim;

	/**
	 * 
	 */
	public Hora() {
		super();
		this.horaInicio = new Timestamp(Calendar.getInstance().getTime().getTime());
		this.horaFim = new Timestamp(Calendar.getInstance().getTime().getTime());;
	}

	/**
	 * @param id
	 * @param horaInicio
	 * @param horaFim
	 */
	public Hora(Timestamp horaInicio, Timestamp horaFim) {
		super();
		this.horaInicio = horaInicio;
		this.horaFim = horaFim;
	}

	/**
	 * @return the horaInicio
	 */
	public Timestamp getHoraInicio() {
		return horaInicio;
	}

	/**
	 * @param horaInicio
	 *            the horaInicio to set
	 */
	public void setHoraInicio(Timestamp horaInicio) {
		this.horaInicio = horaInicio;
	}

	/**
	 * @return the horaFim
	 */
	public Timestamp getHoraFim() {
		return horaFim;
	}

	/**
	 * @param horaFim
	 *            the horaFim to set
	 */
	public void setHoraFim(Timestamp horaFim) {
		this.horaFim = horaFim;
	}

}
